package com.liangfeng.readnews.bean;

import java.util.List;

/**
 * Created by mzf on 2017/4/21.
 */

public class NewsBean {
    String msg;
    Result result;
    String status;

    @Override
    public String toString() {
        return "NewsBean{" +
                "msg='" + msg + '\'' +
                ", result=" + result +
                ", status='" + status + '\'' +
                '}';
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public class Result {
        String channel;
        List<NewData> list;
        String num;

        @Override
        public String toString() {
            return "Result{" +
                    "channel='" + channel + '\'' +
                    ", list=" + list +
                    ", num='" + num + '\'' +
                    '}';
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public List<NewData> getList() {
            return list;
        }

        public void setList(List<NewData> list) {
            this.list = list;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public class NewData {
            String category;
            String content;
            String pic;
            String src;
            String time;
            String title;
            String url;
            String weburl;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public String toString() {
                return "NewData{" +
                        "category='" + category + '\'' +
                        ", content='" + content + '\'' +
                        ", pic='" + pic + '\'' +
                        ", src='" + src + '\'' +
                        ", time='" + time + '\'' +
                        ", url='" + url + '\'' +
                        ", weburl='" + weburl + '\'' +
                        '}';
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getSrc() {
                return src;
            }

            public void setSrc(String src) {
                this.src = src;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getWeburl() {
                return weburl;
            }

            public void setWeburl(String weburl) {
                this.weburl = weburl;
            }
        }
    }
}
